package com.chhuang.ewcrm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (EGoods)实体类
 *
 * @author chhuang
 * @since 2020-11-16 14:56:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EGoods implements Serializable {
    private static final long serialVersionUID = 281296415062114796L;
    /**
     * 物品编号
     */
    private String goodsId;
    /**
     * 物品名称
     */
    private String goodsName;
    /**
     * 仓库编号
     */
    private String warehouseId;
    /**
     * 仓库名称
     */
    private String warehouseName;
    /**
     * 修改日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTimeEnd;
    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeEnd;


    public EGoods(String goodsId, String goodsName, String warehouseId, String warehouseName, Date modifyTime, Date createTime) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.warehouseId = warehouseId;
        this.warehouseName = warehouseName;
        this.modifyTime = modifyTime;
        this.createTime = createTime;
    }
}